package demo;

public class Demo2 {
    public static void main(String[] args) {
        Thread t=new Thread(()->{
            while (true){
                System.out.println("hello");
            }
        });
        t.start();

    }
}
